package com.woniu.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 手术申请表
 * @TableName med_surgery_application
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class MedSurgeryApplication implements Serializable {
    /**
     * 手术申请id
     */
    private Integer id;

    /**
     * 手术申请编号
     */
    private String sdNo;

    /**
     * 病人id
     */
    private Integer sdCaseId;

    /**
     * 主治医生id
     */
    private Integer sdWorkerId;

    /**
     * 手术项目表id
     */
    private Integer sdSiId;

    /**
     * 手术时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sdDate;

    /**
     * 0申请中 1申请成功
     */
    private Integer sdStatus;

    /**
     * 备用字段1
     */
    private String var1;

    /**
     * 备用字段2
     */
    private String var2;

    /**
     * 备用字段3
     */
    private String var3;

    /**
     * 备用字段4
     */
    private String var4;

    private static final long serialVersionUID = 1L;
}